package com.filldream.fastboot.common.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Map;

/**
 * @author RickSun && iFillDream
 * @version 1.0
 * @data 2020-11-07 15:28
 */
@Data
@Accessors(chain = true)
public class RequestDTO {

    @ApiModelProperty(value = "请求方式 GET/POST/...")
    private String methodType ;

    @ApiModelProperty(value = "问号后面的参数")
    private String queryParam;

    @ApiModelProperty(value = "请求IP地址")
    private String ip;

    @ApiModelProperty(value = "请求地址")
    private String uri;

    @ApiModelProperty(value = "请求全路径")
    private String url;

    @ApiModelProperty(value = "请求头")
    private Map<String,Object> headMap;

    @ApiModelProperty(value = "表单参数")
    private Map<String,String[]> parameterMap;

    @ApiModelProperty(value = "POST请求Body")
    private String body;

    @ApiModelProperty(value = "请求接口名称")
    private String title;

}
